package dome2;

public class Main {
    public static void main(String[] args) {
        Shape circle = new Circle(5.0);
        System.out.println("圆的面积：" + circle.getArea());

        Shape rectangle = new Rectangle(4.0, 6.0);
        System.out.println("矩形的面积：" + rectangle.getArea());
    }
}